<?php

class OperationAdd extends Operation
{
    function getResult() {
        return $this->data['a'] + $this->data['b'];
    }
}